package com.wideplay.warp.remoting;

import java.lang.annotation.Annotation;

/**
 * Created by IntelliJ IDEA.
 * User: dprasanna
 * Date: 1/10/2007
 * Time: 16:25:40
 * <p/>
 *
 * Describes a remoting proxy binding.
 *
 * @author dprasanna
 * @since 1.0
 */
class RouterDescriptor {
    private final Class<?> iface;
    private final Class<? extends Annotation> remoteScope;

    public RouterDescriptor(Class<?> iface, Class<? extends Annotation> remoteScope) {
        this.iface = iface;
        this.remoteScope = remoteScope;
    }

    public Class<?> getIface() {
        return iface;
    }

    public Class<? extends Annotation> getRemoteScope() {
        return remoteScope;
    }
}
